(message "load config file")
(defvar best-gc-cons-threshold 4000000 "Best default gc threshold value. Should't be too big.")

(setq gc-cons-threshold most-positive-fixnum)
(defun add-to-load-path (dir)
  "Function to add DIR to 'load-path'."
  (add-to-list 'load-path dir))


(add-to-load-path (concat user-emacs-directory "configs"))

(require 'settings)
(require 'better)
(require 'prog)
(require 'ui)

(setq custom-file (expand-file-name "custom.el" user-emacs-directory))
